package com.study.demo.api.login;


import com.study.demo.bean.CookieData;

import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * Created by sll on 2016/3/8.
 */
public interface CookieService {

  @FormUrlEncoded
  @POST("member.action")
  Observable<CookieData> login(
          @Field("username") String username, @Field("password") String password);
}
